import request from '@/utils/request'

//获取个人标签
export function getUserTags(params) {
  return request('/dtwave_light/api/v1/dtwave_light_backend/user_tags', params)
}

//获取便签列表
export function getAllTags(params) {
    return request('/dtwave_light/api/v1/dtwave_light_backend/tags', params)
  }


//随机获取员工列表
export function getUserRandom(params) {
    return request('/dtwave_light/api/v1/dtwave_light_backend/users_random_base_info', params)
  }


  //给员工打标签
export function stickUserTag(params) {
    return request(`/dtwave_light/api/v1/dtwave_light_backend/users/${params.userId}/tags/${params.tagId}`, {}, { method: 'POST' })
  }

  
  //获取筛选员工
  export function getUsers_base_info(params) {
    return request('/dtwave_light/api/v1/dtwave_light_backend/users_base_info', params)
  }

  // 获取员工信息
export function getEmployeeInfo(params) {
  return request('/dtwave_light/api/v1/dtwave_light_backend/user', params)
}
